//
//  BulletView.h
//  linktuIOS
//
//  Created by 章为 on 16/5/31.
//  Copyright © 2016年 张伟. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, CommentMoveStatus) {
    Start,
    Enter,
    End
    
};

typedef NS_ENUM(NSInteger, Trajectory) {
    Trajectory_1,
    Trajectory_2,
    Trajectory_3
};




@interface BulletView : UIView
@property (nonatomic, copy) void(^moveBlock)(CommentMoveStatus status);
@property Trajectory trajectory; //弹幕弹道定义

+(instancetype)bulletView;
+(instancetype)bulletViewWithMessage:(LTMessage *)message;
@property(nonatomic,strong) LTMessage *message;
@property(nonatomic,strong) NSString *roomID;
@property(nonatomic,copy)void(^buttonClick)(BulletView *view);

@property (nonatomic,copy)  void(^headPressed)(BulletView * view);



- (void)startAnimation;
- (void)stopAnimation;
@end
